package com.zcl.service;

import com.zcl.entity.PageResult;
import com.zcl.entity.WorkerVo;
import com.zcl.entity.worker;

import java.util.List;

public interface WorkerService{
    List<worker> findALL();

    void save(worker worker);

    PageResult<worker> search(int page, int pageSize, WorkerVo workerVo);

    PageResult<worker> findByPage(int page, int pageSize);

    List<worker> findByWords(WorkerVo workerVo);
}
